package marvin.webapp.audio.displaybeans;

import java.io.File;

import org.primefaces.model.DefaultTreeNode;
import org.primefaces.model.TreeNode;

public class FileTreeNode extends DefaultTreeNode{

	private static final long serialVersionUID = -4900569302628526772L;

	private File f;
	private String label;
	
	public FileTreeNode(String label, File file, TreeNode parent){
		super(label, parent);
		f = file;
		this.label = label;	
	}

	public File getFile() {
		return f;
	}

	public String getLabel() {
		return label;
	}
}
